package com.penghaisoft.microwms.product.service;

import java.util.List;

import com.penghaisoft.microwms.common.dto.ProOrderInSnDto;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.dto.TransResult;
import com.penghaisoft.microwms.common.page.Pager;
import com.penghaisoft.microwms.common.wms.model.ProOrderInSn;

/**
 * @Description 成品下线入库明细表 service
 * @author luoteng
 * @date 2018年6月6日 下午2:35:15 
 * @version 1.0
 */
public interface IProOrderInSnService{
	
	public Resp create(ProOrderInSn proOrderInSn);

	public Resp delete(ProOrderInSn proOrderInSn);
	
	public Pager<ProOrderInSn> findListByCondition(int page, int rows,ProOrderInSn condition);
	
	public Pager<ProOrderInSn> findModelList(int page, int rows,ProOrderInSn condition);
	
	public ProOrderInSn findById(String id);
	
	public Resp update(ProOrderInSn proOrderInSn);
	
	public TransResult downlineScanBarcode(ProOrderInSnDto proOrderInSnDto);
	
	public TransResult downlineDelBarcode(ProOrderInSnDto proOrderInSnDto);
	
	public Resp mesBatchInsertOrderInSn(List<ProOrderInSn> list);
	
	public Resp mesBatchInsertOrderInSnAuto(List<ProOrderInSn> list, String wlCode);
	
	public List<ProOrderInSn> mesBatchInsertOrderInSnCheck(List<ProOrderInSn> list);
}
